import { Component, Input } from '@angular/core';
import { Location } from '@angular/common';
@Component({
  selector: 'breadcrumb-root',
  templateUrl: './breadcrumb.component.html',
  styleUrls: ['./breadcrumb.component.css']
})
export class breadcrumbComponent {
  @Input() breadcrumb: any;
  constructor(
    private location: Location,
  ) { }
  rebake(){
    this.location.back();
  }
}
